home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
WCE30A.ARJ
/
DSIMAIN.C
< prev
next >
Wrap
C/C++ Source or Header
|
1992-07-15
|
723b
|
40 lines
/*
*
* MODULE: DSIMAIN.C
*
*/
#include "dsimport.h"
HANDLE hInst;
/*
*
* FUNCTION: WINMAIN(HANDLE, HANDLE, LPSTR, int)
*
*/
int FAR PASCAL WinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow)
HANDLE hInstance;
HANDLE hPrevInstance;
LPSTR lpCmdLine;
int nCmdShow;
{
MSG msg;
hInst = hInstance;
if (!hPrevInstance)
if(!InitializeApplication(hInst))
return 0;
if (!InitializeInstance(lpCmdLine, nCmdShow))
return 0;
while (GetMessage(&msg, NULL, NULL, NULL))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return(msg.wParam);
}